<template>
  <div id="inputnumber">
    <el-input-number v-model="num1" @change="handleChange" :precision="2" :min="1" :max="10" :step="2" label="描述文字"></el-input-number>
  </div>
</template>

<script>
export default {
  data () {
    return {
      num1: 1
    }
  },
  methods: {
    handleChange (value) {
      console.log(value)
    }
  }
}
</script>
